package org.jeecg.modules.appuser.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.appuser.entity.TbUserIntegralDetail;
import org.jeecg.modules.appuser.mapper.TbUserIntegralDetailMapper;
import org.jeecg.modules.appuser.service.ITbUserIntegralDetailService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 用户积分明细表
 * @Author: jeecg-boot
 * @Date:   2020-05-19
 * @Version: V1.0
 */
@Service
public class TbUserIntegralDetailServiceImpl extends ServiceImpl<TbUserIntegralDetailMapper, TbUserIntegralDetail> implements ITbUserIntegralDetailService {

    @Override
    public IPage<TbUserIntegralDetail> getIntegralDetails(Page<TbUserIntegralDetail> page, TbUserIntegralDetail tbUserIntegralDetail) {

        return page.setRecords(this.baseMapper.getIntegralDetails(page, tbUserIntegralDetail));
    }

    @Override
    public IPage<TbUserIntegralDetail> pageDatas(Page<TbUserIntegralDetail> page, TbUserIntegralDetail tbUserIntegralDetail) {
        return page.setRecords(this.baseMapper.pageDatas(page, tbUserIntegralDetail));
    }
}
